<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <title>产品管理－出售中</title>
        <link rel="stylesheet" type="text/css" href="../css/content.css">
        <link rel="stylesheet" type="text/css" href="../css/contentblue.css">
        <link rel="stylesheet" type="text/css" href="../css/product.css">
    </head>
    <body>
        <!-- 修改产品分类 begin -->
        <div id="div_out">
            <div id="div_inner">
                <img src="../img/shanchuicon.png" style="width:25px;height:25px;border-radius: 5px;"/>
            </div>
            <div class="div_out_title">
                <font style="font-weight: bold;">产品名称：</font><span id="span_out_title">新款秋装针织衫M</span>
            </div>
            <div class="div_out_item WSY_ddbulk" style="width: 95%;"> 
                <div class="WSY_divbulk">
                    <h1 class="noeh1">
                        <input type="checkbox" name="types" value="274" id="ck_p274" >
                        <label for="ck_p274">汽车刹车</label>
                    </h1>
                </div>
            </div>	
            <input type="hidden" value="-1" id="hid_out_proid"/>
            <input type="button" value="确定修改" id="btn_changetype" class="div_out_btn"/>	
        </div>
        <!-- 修改产品分类 end -->
        <!-- 修改产品价格 begin -->
        <div id="div_out2" style="display:none">
            <div id="div_inner2"> 
                <img src="../img/shanchuicon.png" style="width:25px;height:25px;border-radius: 5px;"/>
            </div>
            <div class="div_out_title">
                <font style="font-weight: bold;">产品名称：</font><span id="span_price_title">新款秋装针织衫M</span>
            </div>
            <div class="div_out_item1" style="width: 515px;">
                <table style="width: 95%;" class="WSY_table tblcls" >
                    <thead class="WSY_table_header"     style="background-color:  #666666;">
                    <th width="16%">名称</th>
                    <th width="16%">原价</th>
                    <th width="16%">现价</th>
                    <th width="16%">成本</th>
                    <th width="16%">供货价</th>
                    <th >所需积分</th>
                    </thead>
                    <tbody id="WSY_t1">
                    </tbody>
                </table>
            </div>	
            <input type="hidden" value="-1" id="hid_price_proid"/>
            <input type="button" value="确定修改" id="btn_changeprice" class="div_out_btn"/>		
        </div> 
        <!-- 修改产品价格 end -->
        <!-- 修改产品库存 begin -->
        <div id="div_out3" style="display:none">
            <div id="div_inner3"> 
                <img src="../img/shanchuicon.png" style="width:25px;height:25px;border-radius: 5px;"/>
            </div>
            <div class="div_out_title">
                <font style="font-weight: bold;">产品名称：</font><span id="span_stock_title">新款秋装针织衫M</span>
            </div>
            <div class="div_out_item1" style="width: 430px;">
                <table style="width: 95%;" class="WSY_table tblcls" >
                    <thead class="WSY_table_header"     style="background-color:  #666666;">
                    <th width="60%">名称</th>
                    <th width="40%">库存</th>
                    </thead>
                    <tbody id="WSY_t2">
                    </tbody>
                </table>
            </div>
            <input type="hidden" value="-1" id="hid_stock_proid"/>
            <input type="button" value="确定修改" id="btn_changestock" class="div_out_btn"/>		
        </div>
        <!-- 修改产品库存 end -->


        <!-----------------------------------------分割线-------------------------------------------->
        <!--内容框架开始-->
        <div class="WSY_content" id="WSY_content_height">
            <!--列表内容大框开始-->
            <div class="WSY_columnbox">
                <!--列表头部切换开始-->
                <div class="WSY_column_header">
                    <div class="WSY_columnnav">
                        <a href="product.html" class="white1">产品列表</a>
                        <a href="product_add.html">添加产品</a>
                    </div>
                </div><!--列表头部切换结束-->

                <!--产品管理代码开始-->
                <div class="WSY_data">
                    <div class="WSY_agentsbox">
                        <form class="search" action="/admin/product.car_product/index.html">
                            <div class="WSY_search_q">
                                <div class="WSY_search_div">
                                    <li>关键词：<input type="text" id="keyword" name="keyword" value=""/></li>
                                    <li>产品分类：
                                        <select name="search_type_id" id="search_type_id">
                                            <option value="">--请选择--</option>
                                            <option value="167"  >中控导航</option>
                                            <option value="266" >&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;&nbsp;jkk</option>
                                            <option value="268" >&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;&nbsp;123</option>
                                        </select>
                                    </li>
                                    <li>产品标签：
                                        <select name="search_other_id" id="search_other_id">
                                            <option value="-1">--请选择--</option>	
                                            <option value="2" >新品</option>		
                                            <option value="3" >热卖</option>
                                            <option value="9" >包邮</option>	
                                        </select>
                                    </li>

                                    <li id="li_sale">
                                        <input type="checkbox" name="sales" id="ordersale"  value="0" style="width:auto;"/>
                                        <label for="ordersale">按销量排序</label>
                                    </li>
                                    <li class="WSY_bottonliss"><input type="submit" value="搜索"></li>
                                </div>
                                <div class="WSY_search_div">
                                    <ul>
                                        <li class="WSY_bottonliss left" ><input type="button" style="width:100px" id="mul_unsale" value="批量下架"></li>
                                    </ul>
                                    <li class="bfont aright">
                                        <span style='color:red'>不限制</span>上架商品个数				</li>
                                    <li class="bfont aright">总记录数 <span class="bfont rcolor">18</span></li>
                                </div>
                            </div>
                        </form>
                        <table width="97%" class="WSY_table" id="WSY_t1">

                            <thead class="WSY_table_header">
                            <th width="5%"><input id="ck_all"  type="checkbox"></th>
                            <th width="7%">序号</th>
                            <th width="5%">排序(降序)</th>
                            <th width="17%">名称</th>
                            <th width="12%">产品分类</th>
                            <th width="7%">价格</th>
                            <th width="4%">销量</th>
                            <th width="7%">库存</th>
                            <th width="7%">图片</th>
                            <th width="7%">标签</th>
                            <th width="8%">时间</th>
                            <th width="7%">好评/中评/差评</th>
                            <th width="8%">操作</th>
                            </thead>

                            <tr id="WSY_q1">
                                <td>
                                    <input type="checkbox" name="pro_ids" value="13747">
                                </td>
                                <td>13747</td>
                                <td>
                                    <input class="WSY_sorting" id="13747" type="text" value="1" onblur="change_Sort(13747, this)" >
                                </td>
                                <td>
                                    <span id="proname_13747" data-proname="产品名称" style="float:left;padding:10px 0;">产品名称</span>
                                    <img id="saveimg_13747" src="../img/operating_icon/icon53.png" style="padding:10px 0;" class="ep_img" onclick="toEditName('13747')">
                                </td>     
                                <td>
                                    <span id="protype_13747" style="float:left;padding:10px 0;">/内饰装饰</span>
                                    <img id="savetypeimg_13747" src="../img/operating_icon/icon53.png" class=" ep_img pro_typeimg" style="padding:10px 0;"
                                         data-pro-typeid="173" data-pro-tparent="" data-pro-id="13747">

                                </td>
                                <td>
                                    <div class="WSY_pricebox" style="display: inline-block;">
                                        <li class="WSY_price01" id="prooprice_13747" >原价：￥0</li>
                                        <li id="pronprice_13747" >现价：￥0</li>
                                    </div>
                                    <!--4M价格修改-->
                                    <img id="savepriceimg_13747" src="../img/operating_icon/icon53.png" data-pro-id="13747" data-prooprice="0" data-pronprice="0"style="padding:10px 0; display: inline-block;" class="ep_img pro_priceimg" > 
                                    <!--4M价格修改-->
                                </td>
                                <td>1</td>
                                <td>
                                    <span id="prostock_13747" style="float:left;padding:18px 0; ">94</span>
                                    <img id="savestockimg_13747" src="../img/operating_icon/icon53.png" style="padding:15px 0; " data-pro-id="13747" data-prostock="94" class="ep_img pro_stockimg">
                                </td> 
                                <td>
                                    <img src="../img/extra/product.png" class="WSY_fixed"  />
                                </td>
                                <td>
                                    <span id="proattr_13747" style="float:left;padding:10px 0;"></span>
                                    <img id="saveattrimg_13747" src="../img/operating_icon/icon53.png" class=" ep_img pro_attrimg" style="padding:10px 0;" data-pro-id="13747" data-isout="0"data-ishot="0" data-isnew="0" data-isvp="0" data-issnapup="0" data-is_virtual="0" data-is_currency="0" data-is_guess="0" data-is_freeshipping="0" data-is_score="0" data-is_limit="0" data-is_first_extend="0" data-vp_score="0" data-back_currency="0" data-buystart_time="0000-00-00 00:00:00" data-countdown_time="0000-00-00 00:00:00" data-extend_money="0" data-limit_num="1" data-tax_type="1" data-tariff="0" data-comsumption="0" data-addedvalue="0" data-postal="0" data-is_privilege="0" data-privilege_level="0_1_2_3_4_5">
                                </td>
                                <td>2018-10-13 15:03:16</td>
                                <td>
                                    <a href="../comment/discuss_car.php?customer_id=BzUHMABg&product_id=13747" style="color:rgb(56, 167, 238)">1/1/2</a>
                                </td>
                                <td class="WSY_t4" id="WSY_t4">
                                    <a href="add_product.php?customer_id=BzUHMABg&product_id=13747&pagenum=1&adminuser_id=1&owner_general=0&orgin_adminuser_id=1"
                                       title="修改"><img src="../img/operating_icon/icon05.png"></a>
                                    <a href="sale.php?customer_id=BzUHMABg&keyid=13747&pagenum=1&op=del" onclick="if (!confirm( & #39; 删除后不可恢复，继续吗？ & #39; )){return false};" title="删除"><img src="../img/operating_icon/icon04.png"></a>
                                    <a title="下架" href="sale.php?customer_id=BzUHMABg&keyid=13747&pagenum=1&op=unsale" onclick="if (!confirm( & #39; 是否确定将该商品下架？ & #39; )){return false};"><img src="../img/operating_icon/icon41.png"></a>
                                </td>
                            </tr>
                        </table>
                        <!--4m商家修改产品价格权限start-->
                        <input type="hidden" name="4m_is_change_pros_price" value=""/>
                        <!--4m商家修改产品价格权限end-->
                    </div>
                    <!--翻页开始-->
                    <div class="WSY_page">
                        <ul class="WSY_pageleft" style="width: 70%;"><span>&laquo;</span> <li class="one">1</li><a href="/admin/product.car_product/index.html?page=2"><li class="tcdNumber">2</li></a><a href="/admin/product.car_product/index.html?page=3"><li class="tcdNumber">3</li></a><a href="/admin/product.car_product/index.html?page=4"><li class="tcdNumber">4</li></a><a href="/admin/product.car_product/index.html?page=5"><li class="tcdNumber">5</li></a><a href="/admin/product.car_product/index.html?page=6"><li class="tcdNumber">6</li></a><a href="/admin/product.car_product/index.html?page=7"><li class="tcdNumber">7</li></a><a href="/admin/product.car_product/index.html?page=8"><li class="tcdNumber">8</li></a><span>...</span><a href="/admin/product.car_product/index.html?page=11"><li class="tcdNumber">11</li></a><a href="/admin/product.car_product/index.html?page=12"><li class="tcdNumber">12</li></a> <a href="/admin/product.car_product/index.html?page=2"><li class="tcdNumber">&raquo;</li></a><div class="WSY_searchbox">
                                <input class="WSY_page_search" name="WSY_jump_page" id="WSY_jump_page" value="">
                                <script type="text/javascript" src="../js/jquery-2.1.0.min.js"></script>
                                <input class="WSY_jump" type="button" value="跳转" onclick="javascript:
                                                var input_page = parseInt(document.getElementById('WSY_jump_page').value);
                                        //判断input_page
                                        var lastPage = 12;
                                        if (isNaN(input_page) || (input_page < 1) || (input_page > lastPage)){
                                        alert('输入有误');
                                        return;
                                        }
                                        console.log(lastPage);
                                        var first_a_href = $('ul.WSY_pageleft a')[0].href;
                                        //替换href
                                        var jump_href = first_a_href.replace(/page=(\d+)/, 'page=' + input_page);
                                        console.log(jump_href);
                                        location.href = jump_href;
                                       ">
                            </div></ul>                    </div>
                    <!--翻页结束-->
                </div>
                <!--产品管理代码结束-->
            </div>
        </div>
        <!--内容框架结束-->
        <script type="text/javascript" src="../js/product/list_product.js"></script>
        <script type="text/javascript" src="../js/product/list_product_other.js"></script>
        <script>
        </script>
    </body>
</html>